﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace KM.Models
{
    public class PagingInfoModel
    {
        public int totalRecords { get; set; }
        public int recordPerPage { get; set; }
        public int CurrentPage { get; set; }

        public int TotalPages
        {
            get { return (int)Math.Ceiling((decimal)totalRecords / recordPerPage); }
        }
    }
}